package me.helllp.dake.generator.config;

import lombok.Getter;
import lombok.Setter;
import me.helllp.dake.generator.config.services.*;

@Getter
@Setter
public class ServiceConfiguration {
    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 服务默认的端口
     */
    private String port;

    /**
     * 注册中心配置
     */
    private DiscoveryServerConfiguration discoveryServerConfig;

    /**
     * 配置中心
     */
    private ConfigServerConfiguration configServerConfig;

    /**
     * 如果不需要数据库则为NULL
     */
    private RdbmsConfiguration dbConfig;

    private RabbitMqConfiguration rabbitMqConfig;

    private RedisConfiguration redisConfig;
}
